CBMSTEVE.CA - Steve J. Gray's Homepage
CBMSTEVE.CA - Personal pages of Steve J. Gray
Changes Info Prototypes Remakes PET Projects CBM Projects Modding 3D Models KiCad Github Ohio Scientific Other My Software My Collections Facebooks

The C128 Simple VGA Adapter Page

Introduction

Welcome to the C128 Simple VGA Adapter Page! The C128's 80-column mode uses an RGBI (aka CGA) type output with a 15kHz scan rate. If you have an old Commodore monitor that supports it you are set. But, if you want a bigger newer display you will need to convert the RGBI to VGA or HDMI. This can be expensive. However, some modern LCD monitors or TVs can support 15kHz VGA signals. The remaining issue is that VGA is an analog system, but RGBI/CGA is a digital signal. This simple C128VGA adapter takes the 4 digital signals (R,G,B plus intensity) and uses a simple resitor and diode DAC circuit to convert those to the 3 R,G,B analog signals at the correct level. The adapter does not do any type of scan conversion and does not do have the "brown fix", but with the correct monitor it is a simple and inexpensive solution. As a bonus it does not need any external power. It also has an RCA composite output jack for 80-column mono.

Information

This is a passive design using minimal components for a small and simple solution. It does not need power as the DAC just combines the R,G,B, and I signals into RGB at the correct VGA voltage of 0.7V to 1.0V levels. It does not alter the Horizontal or Vertical sync as those are 5V levels. It does not support any type of VGA ID signals or two-way communications. The VGA monitor must handle all this automatically.

It does not support "Brown Fix" which means the colours may not exactly match what would be seen on an old CGA-type monitor.

It does not alter the scan frequency. It is not a scaler or scan doubler. Your VGA monitor must support 15kHz scan rates. Alternately, you can feed the output to an adapter or scaler box if your monitor does not support 15kHz or you want to convert the output to HDMI etc. Note: This adapter passes the H and V sync so any adapter requiring composite sync will not work.

Check: https://15khz.miraheze.org/wiki/Main_Page for information on monitors that support 15kHz.

Status

I created a prototype board and sent it to JLCPCB. This first board used a TRS connector for the mono output. I tried to find the connector online but they were not very common and were more expensive than I thought they would be. I ordered a few but then I decided to switch to a standard RCA connector. I revised the PCB and sent the updated design to JLCPCB again. The first PCB's and arrived and has been tested it on my C128cr machine connected to a Dell 27" monitor that supports 15kHz. I am currently waiting for the revised PCB's to arrive.

Github

Kicad files with Gerbers will be posted on Github when available: https://github.com/sjgray/C128vga

Pictures


Project History

Contact

Page Created: Aug 7/2024. Last updated: Nov27/2024, 3:30pm EST

Send comments or feedback to Steve Gray(sjgray@rogers.com)